import os
import sys

from PySide6.QtWidgets import QApplication

from conf import Config
from main_window import MainWindow

if __name__ == '__main__':
    app = QApplication([])
    conf = Config.json_load(os.path.abspath('conf/conf.json'))
    window = MainWindow(conf)
    window.showFullScreen()
    sys.exit(app.exec())
